(function(){"use strict";var a=[];BX.addCustomEvent(window,"BX.Landing.Block:init",function(d){if(d.block.querySelector("[data-map]")){i(d);if(BX.Landing.Provider.Map.GoogleMap.isApiLoaded()){n(d)}else{if(!a.includes(d)){a.push(d)}window.onGoogleMapApiLoaded=function(){a.forEach(function(a){n(a)})}}}});function n(a){d(a);if(BX.Landing.getMode()==="edit"){a.forceInit()}else{var n=a.block.querySelector("[data-map]");void new BX.Landing.Provider.Map.GoogleMap({mapContainer:n,theme:BX.Landing.Utils.data(n,"data-map-theme"),roads:BX.Landing.Utils.data(n,"data-map-roads")||[],landmarks:BX.Landing.Utils.data(n,"data-map-landmarks")||[],labels:BX.Landing.Utils.data(n,"data-map-labels")||[],mapOptions:BX.Landing.Utils.data(n,"data-map")})}}function i(a){if(BX.Landing.getMode()!=="edit"){BX.hide(a.block)}}function d(a){if(BX.Landing.getMode()!=="edit"){BX.show(a.block)}}})();
//# sourceMappingURL=google_maps_new.map.js